<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title></title>
	<link rel="stylesheet" href="/css/main.css">
	<link rel="stylesheet" href="/css/font-awesome/css/font-awesome.css">
</head>
<body>
<div class="box">

	<h3>编辑租户信息</h3>
	<form action="/lessee/edit" method="post">
		<table class="form-table">
			
			<tr>
				<td>租户姓名</td>
				<td colspan="3" class="control">
					<input type="hidden" name="l_id" value="${lessee.l_id}">
					
					
					<input type="text" name="l_name"  value="${lessee.l_name }" >
				</td>
			</tr>
			<tr>
				<td>电话</td>
				<td colspan="3" class="control">
					
				<input type="text" name="l_tel" value="${lessee.l_tel }">
					
				</td>
			</tr>
			<tr>
				<td>性别</td>
				<td colspan="3" class="control">
					<input type="radio" name="l_sex" value="1" ${lessee.l_sex == "1" ? "checked" : "" }/>男
					<input type="radio" name="l_sex" value="0" ${lessee.l_sex == "0" ? "checked" : "" }/>女
				</td>
			</tr>
			<tr>
				<td>籍贯</td>
				<td colspan="3" class="control">
					<input type="text" name="l_native_place" placeholder="" value="${lessee.l_native_place}">
				</td>
			</tr>
			<tr>
				<td>身份证号</td>
				<td colspan="3" class="control">
					<input type="text" name="l_id_card" placeholder="" value="${lessee.l_id_card}">
					
				</td>
			</tr>
			<tr>
				<td>创建时间</td>
				<td colspan="3" class="control">
					<input type="date" readonly="readonly" name="l_create_time"  value="<fmt:formatDate value="${lessee.l_create_time}" pattern="yyyy-MM-dd" />">
				</td>
			</tr>
			
		</table>
		<div class="buttons">
			<input class="btn btn-primary va-bottom" type="submit" value="保存">&nbsp;&nbsp;
			<a class="btn btn-default" href="javascript:history.go(-1)">返回</a>
		</div>
	</form>
</div>
</body>
</html>